package it.polimi.TravelDream.ejb.searchManager;

import it.polimi.TravelDream.ejb.dtos.ExcursionDTO;
import it.polimi.TravelDream.ejb.dtos.FlightDTO;
import it.polimi.TravelDream.ejb.dtos.HotelDTO;
import it.polimi.TravelDream.ejb.dtos.PackageDTO;
import it.polimi.TravelDream.ejb.dtos.RoomDTO;
import it.polimi.TravelDream.ejb.dtos.UserDTO;

import java.util.Date;
import java.util.List;

import javax.ejb.Local;

@Local
public interface PersonalizationMgr {

	Date getArrivalDate();

	String getDepartureCity();

	Date getDepartureDate();

	List<HotelDTO> getHotelResultList();

	HotelDTO getSelectedHotel();

	PackageDTO getSelectedPackage();

	void searchHotel();

	void setArrivalDate(Date arrivalDate);

	void setDepartureCity(String departureCity);

	void setDepartureDate(Date departureDate);

	void setExcursions(List<ExcursionDTO> dtosList);

	void setSelectedHotel(HotelDTO hotelDTO);

	void setSelectedPackage(PackageDTO packageDTO);

	void addFlight(FlightDTO flightDTO);

	void removeFlight(FlightDTO flightDTO);

	void setEmptyFlightList();

	boolean selectRoom(int bedNumber);

	List<RoomDTO> getRoomsResultList();

	void createUserPackage(UserDTO userdto);

}
